package com.hl.sfzy.service;

import com.hl.sfzy.dto.TeacherInfoDTO;
import com.hl.sfzy.mapper.TeacherInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherInfoService {
    @Autowired
    private TeacherInfoMapper teacherInfoMapper;

    public TeacherInfoDTO getTeacherInfoByCourseId(Long courseId) {
        return teacherInfoMapper.getTeacherInfoByCourseId(courseId);
    }
}
